package com.baitiaojun.swagger.properties;


import lombok.*;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.ArrayList;
import java.util.List;

/**
 * @类名 SwaggerProperties
 * @描述 TODO
 * @作者 白条君
 * @创建日期 2022/11/20 16:15
 * @版本 1.0
 */
@Setter
@Getter
@NoArgsConstructor
@AllArgsConstructor
@ConfigurationProperties(prefix = "swagger")
public class SwaggerProperties {

    private boolean enabled;

    private String title;

    private String description;

    private String version;

    private String termsOfServiceUrl;

    private String name;

    private String url;

    private String email;

    private String license;

    private String licenseUrl;

    private String basePackage;

    private final List<String> basePath = new ArrayList<>();

    private final List<String> excludePath = new ArrayList<>();
}

